package com.yc.streamamq;

import com.yc.streamamq.util.SinkIn;
import com.yc.streamamq.util.SourceOut;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.stream.annotation.EnableBinding;
import org.springframework.cloud.stream.messaging.Sink;
import org.springframework.cloud.stream.messaging.Source;

@SpringBootApplication
@EnableBinding({SourceOut.class, SinkIn.class})
public class StreamamqApplication {

    public static void main(String[] args) {
        SpringApplication.run(StreamamqApplication.class, args);
    }

}
